home *** CD-ROM | disk | FTP | other *** search
- Path: newsfeed.rice.edu!rice!landau!karsten
- From: karsten@landau.rice.edu (Karsten E. Braaten)
- Newsgroups: comp.lang.c++
- Subject: Re: Templates as the type of a template
- Date: 17 Apr 1996 01:24:55 GMT
- Organization: Dept. of Space Physics & Astronomy, Rice U., Houston
- Message-ID: <4l1h97$fap@larry.rice.edu>
- References: <316D1587.167EB0E7@kainos.com>
- NNTP-Posting-Host: landau.rice.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- Andrew Palmer (a.palmer@kainos.com) wrote:
- > But I don't seem to be able to have a list of vectors of type int,
- > e.g. "list<vector<int>> foobar;" doesn't work.
- ^^
- The complier is going to interpret >> as the operator that it is,
- rather than two close brackets.
- Insert a space: list<vector<int> > foobar;
- Peace...
- --
- * karsten@rice.edu * People, not commercial organizations or chains of
- * Space Physics 211 * command, are what make great civilizations work.
- * Rice University * Every civilization depends upon the quality of
- * Houston, TX 77251 * the individuals it produces.
- * (713)527-8750x2701 * --from Frank Herbert's "Dune"
-